Skip to content

Conversation

gewarren
Copy link
Contributor

@gewarren gewarren commented Sep 30, 2025

@jskeet
Copy link

jskeet commented Oct 1, 2025

Thanks so much for this!

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gewarren

This looks good, with a few small changes.

@Copilot Copilot AI review requested due to automatic review settings October 3, 2025 23:10
@gewarren gewarren enabled auto-merge (squash) October 3, 2025 23:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates documentation and rules regarding default interface members (DIMs) to clarify that adding a DIM to an interface is not strictly disallowed, but requires judgment. The changes correct terminology and reorganize content for better flow.

  • Updates library change rules to allow adding static, non-abstract, non-virtual members to interfaces in certain scenarios
  • Corrects terminology from "default interface methods" to "default interface members" for consistency
  • Reorganizes the interface keyword documentation to improve readability and flow

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/core/compatibility/library-change-rules.md Updates breaking change rules to allow adding DIMs to interfaces with judgment, removes extra whitespace
docs/csharp/language-reference/keywords/interface.md Reorganizes content structure and corrects access modifier descriptions for better clarity
docs/csharp/whats-new/csharp-version-history.md Corrects terminology from "methods" to "members" and fixes comma placement

@gewarren gewarren merged commit 4dd6d45 into dotnet:main Oct 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should adding a static (non-virtual, non-abstract) member to an interface be considered breaking?
3 participants